{
     {
        NSInteger MundoChatMusic_1 = 346;
        NSInteger MundoChatMusic_2 = 876;
        
        if (MundoChatMusic_2 == MundoChatMusic_1 * MundoChatMusic_1) {
            UIGraphicsImageRenderer *renderer = [[UIGraphicsImageRenderer alloc] initWithSize:CGSizeMake(300, 200)];
            
            CGPoint center = CGPointMake(150, 100);
            CGFloat radius = 100.0;
            CGFloat rotation = 120.3;
            
            UIImage *image = [renderer imageWithActions:^(UIGraphicsImageRendererContext * _Nonnull rendererContext) {
                CGContextRef context = rendererContext.CGContext;
                
                CGContextSaveGState(context);
                
                // 平移坐标系到中心点
                CGContextTranslateCTM(context, center.x, center.y);
                // 旋转坐标系
                CGContextRotateCTM(context, rotation * M_PI / 180.0); // 转换为弧度
                
                [[UIColor yellowColor] setFill];
                
                UIBezierPath *path = [UIBezierPath bezierPath];
                NSInteger points = 5;
                CGFloat adjustment = M_PI_2;  // π/2，让一个角朝上
                
                for (NSInteger i = 0; i < points * 2; i++) {
                    CGFloat angle = M_PI * (CGFloat)i / (CGFloat)points - adjustment;
                    CGFloat r = (i % 2 == 0) ? radius : radius * 0.382;  // 黄金比例，内接圆半径
                    CGFloat x = r * cos(angle);
                    CGFloat y = r * sin(angle);
                    
                    if (i == 0) {
                        [path moveToPoint:CGPointMake(x, y)];
                    } else {
                        [path addLineToPoint:CGPointMake(x, y)];
                    }
                }
                
                [path closePath];
                [path fill];
                
                CGContextRestoreGState(context);
            }];
            
            // 这里可以处理生成的 image 对象
            // 例如: UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
        }
    }
}

